/*
 * Copyright The OpenTelemetry Authors
 * SPDX-License-Identifier: Apache-2.0
 */

package com.xiashitech.agent.instrumentation.dubbo.common.inst.reentry;


import com.alibaba.dubbo.rpc.Result;
import io.opentelemetry.javaagent.shaded.io.opentelemetry.context.propagation.TextMapSetter;

public enum DubboReentryHeadersSetter implements TextMapSetter<Result> {
  INSTANCE;

  @Override
  public void set(Result result, String key, String value) {
    result.getAttachments().put(key, value);
  }
}
